'''
Created on 2019年3月11日

@author: 67362
'''

class consignorpage(object):
    '''货主线索页面
    '''
    loc_crm_consignorpage_brand_search="xpath=.//*[contains(@class,'ivu-form-item') and descendant::label[normalize-space(text())='品牌']]/div"
    loc_crm_consignorpage_scope_search="xpath=.//*[contains(@class,'ivu-form-item') and descendant::label[normalize-space(text())='业务区域']]/div"    
    loc_crm_consignorpage_clue_search="xpath=.//*[contains(@class,'ivu-form-item') and descendant::*[normalize-space(text())='线索名称']]/div//input"    
    loc_crm_consignorpage_search_btn="xpath=.//button[contains(@class,'ivu-btn') and descendant::span[contains(normalize-space(text()),'查询')]]"    
    loc_crm_consignorpage_reset_btn="xpath=.//button[contains(@class,'ivu-btn') and descendant::span[contains(normalize-space(text()),'重置')]]"  
    loc_crm_consignorpage_status_search="xpath=.//*[contains(@class,'ivu-form-item') and descendant::label[normalize-space(text())='线索状态']]/div" 
    loc_crm_consignorpage_mobile_search="xpath=.//*[contains(@class,'ivu-input-wrapper') and descendant::span[normalize-space(text())='手机号']]/input"
    loc_crm_consignorpage_addclue="xpath=.//*[@id='c-layout-right']//span[contains(normalize-space(text()),'添加线索')]/parent::button"    
    loc_crm_consignorpage_first_row_operate_left="xpath=.//tr[1]/td[contains(@class,'operation-cell')]//div[contains(@class,'c-table-btn')]/span[1]//a"
    loc_crm_consignorpage_first_row_operate_right="xpath=.//tr[1]/td[contains(@class,'operation-cell')]//div[contains(@class,'c-table-btn')]/span[2]//a"    
    loc_crm_consignorpage_custom_manager_select="xpath=.//*[contains(@class,'ivu-form-item') and descendant::label[normalize-space(text())='客户经理']]/div//input" 
    loc_crm_consignorpage_create_time_select="xpath=.//*[contains(@class,'ivu-form-item') and descendant::label[normalize-space(text())='创建时间']]/div//input"
    loc_crm_consignorpage_close_time_select="xpath=.//*[contains(@class,'ivu-form-item') and descendant::label[normalize-space(text())='关闭时间']]/div//input"   
    loc_crm_consignorpage_release_submit="xpath=.//*[@class='ivu-modal' and not(contains(@style,'display: none'))]//div[@class='ivu-modal-confirm']//button[span[contains(normalize-space(text()),'确定')]]"    
    loc_crm_consignorpage_select_close_reason="xpath=.//*[contains(@id,'modal') and not(contains(@style,'display: none'))]//div[child::*[contains(normalize-space(text()),'关闭线索')]]/following-sibling::div//div[@class='ivu-checkbox-group']/label[descendant::input[@type='checkbox']]["   
    loc_crm_consignorpage_close_reason_2="]"    
    loc_crm_consignorpage_close_reason_save="xpath=.//*[contains(@id,'modal') and not(contains(@style,'display: none'))]//div[child::*[contains(normalize-space(text()),'关闭线索')]]/following::div[contains(@class,'ivu-modal-footer')]//button[normalize-space(text())='保存']"
    loc_crm_consignorpage_contract_type = "xpath=.//*[@class='ivu-modal' and not(contains(@style,'display: none'))]//label[normalize-space(text())='合同类型']/following-sibling::*//div[child::input]"
    loc_crm_consignorpage_allocate_btn="xpath=.//button[contains(@class,'ivu-btn') and descendant::span[contains(normalize-space(text()),'分配线索')]]"
    loc_crm_consignorpage_release_btn="xpath=.//button[contains(@class,'ivu-btn') and descendant::span[contains(normalize-space(text()),'释放线索')]]"
    loc_crm_consignorpage_closeclue_btn="xpath=.//button[contains(@class,'ivu-btn') and descendant::span[contains(normalize-space(text()),'关闭线索')]]"
    loc_crm_consignorpage_export_btn="xpath=.//button[contains(@class,'ivu-btn') and descendant::span[contains(normalize-space(text()),'线索导出')]]"
    loc_crm_consignorpage_allocate_reason="xpath=.//*[@class='ivu-modal' and not(contains(@style,'display: none'))]//label[normalize-space(text())='分配理由']/following-sibling::*//span[normalize-space(text())='请选择']/parent::*"
    loc_crm_consignorpage_close_remark="xpath=.//*[@class='ivu-modal' and not(contains(@style,'display: none'))]//label[normalize-space(text())='备注']/following-sibling::*//input"
    loc_crm_consignorpage_allocate_custom_manager_select="xpath=.//*[@class='ivu-modal-wrap' and not(contains(@style,'display: none'))]//*[contains(@class,'ivu-form-item') and descendant::label[normalize-space(text())='客户经理']]/div//input"